package com.wang.controller;

import com.wang.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class NegotiationController {
    @ResponseBody
    @GetMapping(value = "/show")
    public User showUser() {
        User user = new User();
        user.setName("java1412");
        user.setSex("男");
        user.setDesc("java1412讲解内容协商机制了...");
        return user;
    }
}